/*
 * Copyright (c) 2015-2020 ACOINFO Co., Ltd.
 * All rights reserved.
 *
 * Detailed license information can be found in the LICENSE file.
 *
 * File: tos_vfs.h TencentOS-tiny virtual file system switch header file.
 *
 * Author: Jiao.jinxing <jiaojinxing@acoinfo.com>
 *
 */

#ifndef TOS_VFS_H
#define TOS_VFS_H

#ifdef __cplusplus
extern "C" {
#endif

#include "tos_k.h"

typedef ms_off_t vfs_off_t;

#define VFS_SEEK_SET    SEEK_SET

#define tos_vfs_lseek   ms_io_lseek
#define tos_vfs_read    ms_io_read

#ifdef __cplusplus
}
#endif

#endif /* TOS_VFS_H */
